/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-06-05
*/
package com.rzico.order.service;

import com.rzico.base.BaseMapper;
import com.rzico.base.impl.BaseServiceImpl;
import com.rzico.order.entity.Order;
import com.rzico.order.mapper.ApiReportMapper;
import com.rzico.order.report.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <pre>
 * 订单日志业务类
 * </pre>
 *
 * @author Rzico Boot
 * @version 1.0
 */
@Service
public class ApiReportService extends BaseServiceImpl<Order, String> {

    @Autowired
    private ApiReportMapper reportMapper;

    @Override
    public BaseMapper<Order, String> getMapper() {
        return reportMapper;
    }

    public List<PaymentRP> selectPaymentRP(Map<String, Object> params) {
        return reportMapper.selectPaymentRP(params);
    }
    public List<OrderSummaryRP> selectOrderSummaryRP(Map<String, Object> params) {
        return reportMapper.selectOrderSummaryRP(params);
    }
    public List<ShippingSummaryRP> selectShippingSummaryRP(Map<String, Object> params) {
        return reportMapper.selectShippingSummaryRP(params);
    }
    public List<WarehouseSummaryRP> selectWarehouseSummaryRP(Map<String, Object> params) {
        return reportMapper.selectWarehouseSummaryRP(params);
    }



    public List<PaymentDetailRP> selectPaymentDetailRP(Map<String, Object> params) {
        return reportMapper.selectPaymentDetailRP(params);
    }
    public List<OrderDetailRP> selectOrderDetailRP(Map<String, Object> params) {
        return reportMapper.selectOrderDetailRP(params);
    }

    public List<WarehouseDetailRP> selectWarehouseDetailRP(Map<String, Object> params) {
        return reportMapper.selectWarehouseDetailRP(params);
    }

}
